package edu.fdzc.learn.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 考试表
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("exams")
public class Exam implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 课程ID
     */
    private Long courseId;

    /**
     * 考试标题
     */
    private String title;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
}